<!DOCTYPE html>
<html>
<head>
    <title>保险预警通知页</title>
    <meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="Author" content="larry" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="../../statics/common/cascader/cascader/cascader.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/layui.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/autocomplete.css">
<link rel="stylesheet" type="text/css" href="../../statics/common/layui/css/soulTable.css">
<link rel="stylesheet" type="text/css" href="../../statics/plugins/ztree/css/metroStyle/metroStyle.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/common.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../../statics/css/list-search-table.css">
<!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/layui-soul-table/docs/soulTable.css" media="all"/>-->
<script type="text/javascript" src="../../statics/plugins/jquery.min.js"></script>
<script type="text/javascript" src="../../statics/common/lib/vue.min.js"></script>
<script type="text/javascript" src="../../statics/plugins/ztree/jquery.ztree.all.min.js"></script>
<script type="text/javascript" src="../../statics/common/layui/layui.all.js"></script>
<script type="text/javascript" src="../../statics/common/js/axios.min.js"></script>
<script type="text/javascript" src="../../statics/common/js/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/common.js"></script>
<script type="text/javascript" src="../../statics/js/upload.js"></script>
<script type="text/javascript" src="../../statics/common/step/steps.js"></script>
<link rel="stylesheet" href="../../statics/css/jxcPublicAll.css"  media="all">
<link href="../../statics/common/photoviewer/dist/photoviewer.css" rel="stylesheet">
<link rel="stylesheet" href="../../statics/common/step/steps.css">
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.css" media="all">-->
<link rel="stylesheet" href="../../statics/js/modules/cropper/cropper.css" media="all">
<link rel="stylesheet" type="text/css" href="../../statics/css/viewer.min.css">
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.5.7/cropper.min.js"></script>-->
<script src="../../statics/js/modules/cropper/cropper.min.js"></script>
<script src="../../statics/common/photoviewer/dist/photoviewer.js"></script>
<script src="../../statics/common/layui/autocomplete.js"></script>
<script  src="../../statics/js/modules/viewer/viewer.min.js"></script>
<script src="../../statics/common/print-js/print.min.js"></script>
<link rel="stylesheet" type="text/css" href="../../statics/common/print-js/print.min.css">
<script type="text/javascript" src="../../statics/common/xmselect/xm-select.js"></script>
<script type="text/javascript" src="../../statics/js/searchview.js"></script>
<script type="text/javascript" src="../../statics/js/tableedit.js"></script>

<!--<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.0&type=webgl&ak=eo4XeZhRKHsQ0NOe6u6NkKscmRsk416B"></script>-->

<!-- 引入组件库 -->
<link rel="stylesheet" type="text/css" href="../../statics/css/index.css">






</head>
<body class="ren-body">
<div id="rrapp" v-cloak>
    <div class="list-search-title-box">
        <form class="layui-form">
            <div class="form-content-box">
                <div class="form-content-session-box">
                    <div class="card">
                        <div class="layui-row layui-form-row-content">
                            <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                                <div class="layui-inline layui-col-md6 layui-col-sm6 layui-col-xs6">
                                    <label class="layui-form-label">坏账原因<span style="color:red">*</span>:</label>
                                    <div class="layui-input-inline">
                                        <textarea maxlength="200" v-model="receivables.badRemark"  placeholder="请输入坏账原因......" class="layui-textarea"></textarea>
                                    </div>
                                </div>
                                <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12" v-if="operType == 3">
                                    <label class="layui-form-label">坏账类型：</label>
                                    <div class="layui-input-inline">
                                        <input type="radio" name="hzType" lay-verify="hzType" lay-filter="hzType" value="1" title="全额坏账" v-model="hzType">
                                        <input type="radio" name="hzType" lay-verify="hzType" lay-filter="hzType" value="2" title="部分坏账" v-model="hzType">
                                    </div>
                                </div>
                                <div class="layui-row layui-form-row-content" v-show="hzType == 2 && operType == 3">
                                    <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                                        <label class="layui-form-label"><span style="color:red">*</span>坏账金额：</label>
                                        <div class="layui-input-inline">
                                            <input type="text" lay-verify="validate_skAmount" v-model="skAmount"
                                                   oninput="editSimple(this, 'num', '99999999.99')"
                                                   autocomplete="off" placeholder="请输入坏账金额" class="layui-input searchVal">
                                        </div>
                                    </div>
                                </div>

                                <div class="card">
                                    <div class="layui-row layui-form-row-content">
                                        <div class="layui-inline layui-col-md12 layui-col-sm12 layui-col-xs12">
                                            <label class="layui-form-label">附件:</label>
                                            <div class="layui-input-inline">
                                                <div class="layui-input-inline">
                                                    <div class="layui-input-inline-upload">
                                                        <div :id="fileLstId" class="layui-input-inline-upload-show box-rect" v-for="(item,index) in badBillFileList">
                                                            <div v-show="item.typeFile == 1" class="layui-input-inline-upload-button">
                                                                <img :src="imageURL + item.url" class="view-img">
                                                            </div>
                                                            <div v-show="item.typeFile != 1" class="layui-input-inline-upload-button">
                                                                {{item.nameAccessory}}
                                                            </div>
                                                            <div class="layui-input-inline-upload-show-delete btn-event" @click="delFile(item.id)">
                                                                删除
                                                            </div>
                                                        </div>
                                                        <div class="layui-input-inline-upload-button box-rect box-rect-event" id="badBillFile">
                                                            <img src="../../statics/images/inline-upload@2x.png">
                                                        </div>
                                                    </div>
                                                    <div class="layui-input-inline-upload-text">
                                                        附件说明：附件最大支持30M，
                                                        支持格式：PDF、Word、Excel、JPG、PNG 、ZIP、RAR </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </form>
        <div class="float-btn-group">
            <a class="layui-btn reset-btn" id="closePage">取消</a>
            <a class="layui-btn search-btn" lay-submit lay-filter="dealBadBillSumbit">提交</a>
        </div>
    </div>

</div>
<script src="../../statics/js/modules/financial/dealBadBill.js"></script>
</body>
</html>
